package com.dailyblue.example.project.bookstore.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableScheduling
@EnableTransactionManagement
@EnableCaching
@ServletComponentScan("com.dailyblue.example.project.bookstore.user.filter")
@RefreshScope
@MapperScan("com.dailyblue.example.project.bookstore.commons.mapper")
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
@ComponentScan("com.dailyblue.example.project.bookstore")
public class BookstoreUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(BookstoreUserApplication.class, args);
    }
}